package com.huang.we_chart.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (Subway)表实体类
 *
 * @author HuangShen
 * @since 2020-11-29 10:11:38
 */
@SuppressWarnings("serial")
public class Subway extends Model<Subway> {
    //维修员id
    private String subwayId;
    //维修员小程序id
    private String openid;
    //维修员姓名
    private String subwayName;
    //维修员电话
    private String subwayTel;
    //维修员评分
    private String subwayRate;
    //维修员头像
    private String avaterHref;
    //维修员密码
    private String subwayPassword;
    //0: 空闲 1:请假  2：正在维修
    private Integer subwayState;


    public String getSubwayId() {
        return subwayId;
    }

    public void setSubwayId(String subwayId) {
        this.subwayId = subwayId;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getSubwayName() {
        return subwayName;
    }

    public void setSubwayName(String subwayName) {
        this.subwayName = subwayName;
    }

    public String getSubwayTel() {
        return subwayTel;
    }

    public void setSubwayTel(String subwayTel) {
        this.subwayTel = subwayTel;
    }

    public String getSubwayRate() {
        return subwayRate;
    }

    public void setSubwayRate(String subwayRate) {
        this.subwayRate = subwayRate;
    }

    public String getAvaterHref() {
        return avaterHref;
    }

    public void setAvaterHref(String avaterHref) {
        this.avaterHref = avaterHref;
    }

    public String getSubwayPassword() {
        return subwayPassword;
    }

    public void setSubwayPassword(String subwayPassword) {
        this.subwayPassword = subwayPassword;
    }

    public Integer getSubwayState() {
        return subwayState;
    }

    public void setSubwayState(Integer subwayState) {
        this.subwayState = subwayState;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.subwayId;
    }
}